/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.merchant.service;

import iaas.service.IBaseService;
import iaas.web.JqGridRequest;

import java.util.List;

import org.springframework.data.domain.Page;

import com.wealth.commodity.entity.Category;
import com.wealth.merchant.entity.Activity;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
public interface IActivityService extends IBaseService<Activity>{

	/**
	 * 根据企业和状态查询商品分类
	 * @param status
	 * @param corpId
	 * @return
	 */
	public 	List<Activity> findByStatusAndMerchantId(Integer status,Long merchantId)  throws Exception;
	
	
	public Page<Activity> get(Long corpid, Long merchantId, JqGridRequest request,Class<Activity> ctivity) throws Exception;

	

}

